force the destination pixel black where the source pixel is black; where the source pixel is white, force the destination pixel white.
1 = notSrcBic
determines how close the color of the source pixel is to white, and assigns this relative amount of background color to the destination pixel.
2 = srcOr
determines how close the color of the source pixel is to black, and assigns this relative amount of foreground color to the destination pixel.
3 = notSrcXor
for a colored destination pixel, uses the complement of its color
4 = notSrcCopy
determines how close the color of the source pixel is to black, and assigns this relative amount of background color to the destination pixel. Determines how close the color of the source pixel is to white, and assigns this relative amount of foreground color to the destination pixel.
5 = notSrcOr
determines how close the color of the source pixel is to white, and assigns this relative amount of foreground color to the destination pixel.
6 = srcXor
for a colored destination pixel, uses the complement of its color
7 = srcBic
determines how close the color of the source pixel is to black, and assigns this relative amount of background color to the destination pixel.
8 = addPin
Replaces the destination pixel with the sum of the source and destination pixel colors-- up to a maximum allowable value (grayscale).
9 = addOver
Replaces the destination pixel with the sum of the source and destination pixel colors, except if the value of the red, green, or blue component exceeds 65,536, then addOver subtracts 65,536 from that value.
10 = subPin
Replaces the destination pixel with the difference of the source and destination pixel colors, but not less than a minimum allowable value (grayscale).
11 = transparent
Replaces the destination pixel with the source pixel if the source pixel is not equal to black.
12 = addMax
Compares the source and destination pixels, and replaces the destination pixel with the color containing the greater saturation of each of the RGB components.
13 = subOver
Replaces the destination pixel with the difference of the source and destination pixel colors, except if the value of the red, green, or blue component is less than 0, then it adds the negative result to 65,536.
14 = adMin
Compares the source and destination pixels, and replaces the destination pixel with the color containing the lesser saturation of each of the RGB components.